import {
	t
} from '@/i18n/index.js'
export default [
	{
		name:'MarketingCooperation',
		path:'cooperation',
		component:()=>import('@/views/Marketing/MarketingCooperation.vue'),
		meta:{
			title:() => t('treeMenu.marketing.cooperation'),
			authentication:(role,route)=>['Marketing','Manager','Admin']
		}
	},{
		name:'MarketingResearch',
		path:'research',
		component:()=>import('@/views/Marketing/MarketingResearch.vue'),
		meta:{
			title:() => t('treeMenu.marketing.research'),
			authentication:(role,route)=>['Marketing','Manager','Admin']
		}
	}
]
export const authentication=(role,route)=>['Marketing','Manager','Admin']